package com.gillion.business.model;

import com.gfa4j.mybatis.annotation.CommonField;
import com.gfa4j.mybatis.annotation.CommonFieldType;
import com.gfa4j.mybatis.model.BaseModel;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

@Entity
@Table(name = "SYS_ROLE_ACL")
public class SysRoleAcl extends BaseModel implements Serializable {
    private String aclConditionId;

    private String roleId;

    private String aclTableId;

    private String condition;

    private String conditionSql;

    private Byte crudType;

    private static final long serialVersionUID = 1L;

    @Column(name = "ACL_CONDITION_ID")
    @Id
    @GeneratedValue(generator = "UUIDGenerator")
    public String getAclConditionId() {
        return aclConditionId;
    }

    public void setAclConditionId(String aclConditionId) {
        this.aclConditionId = aclConditionId;
    }

    @Column(name = "ROLE_ID")
    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    @Column(name = "ACL_TABLE_ID")
    public String getAclTableId() {
        return aclTableId;
    }

    public void setAclTableId(String aclTableId) {
        this.aclTableId = aclTableId;
    }

    @Column(name = "CONDITION")
    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Column(name = "CONDITION_SQL")
    public String getConditionSql() {
        return conditionSql;
    }

    public void setConditionSql(String conditionSql) {
        this.conditionSql = conditionSql;
    }

    @Column(name = "CRUD_TYPE")
    public Byte getCrudType() {
        return crudType;
    }

    public void setCrudType(Byte crudType) {
        this.crudType = crudType;
    }
}